This empty “macro template” file can be used to add additional and personalized macros to ProTERM. To use this file, drag it to the Macros folder, and rename the file as “Resident User xxxx” where “xxxx” is the name of your choice. Example: Resident User MyFile
Drag the "Resident User Empty" file from the Extras folder to the Macros
folder, and rename the file something like "Resident User MyFile" (whatever
pleases you). The first part of the name must be "Resident User" but the latter
part of the name must have something appended to distinguish and personalize
the file e.g., "Resident User Fudge").
Select a key that would you want to program to do the desired action. That is,
which key do you want to press to do the action.
1- Open the Resident User (macro) document you will be working with, and
decide which F-key is to be used for the planned function.
2- Choose "Macro Key" Info from the ProTERM Tools > Additions menu.
3- What kind of window do you want the keystroke to work in. Choose from the
pop-up window "Activate From:": Document, Terminal or Any Window
4- Press the key, or key combination, and note the special key code
information for that key appears in the "Function Name:" window, and the
special key code information is selected. This coded information is also
called the "key binding" code, as it binds, or defines, a particular key or
set of keys to a specific code that your Mac can identify as a command.
5- Choose Copy from the Edit menu to copy the result. (If you press COMMAND+C
to copy the information, instead of copying the result as you might expect,
the Macro Key Info command produces the key binding (programing info) for
that key press of COMMAND+C, and that is not what you want.)
Look through some of the other macro files for examples. See the ProTERM Help file DIRC Reference. The ProTERM user manual has 80+ pages of macro assistance.
*/
//
// special "link" code just in case file is executed directly